<!--{template common/header_simple_start}-->
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<link href="dzz/corpus/images/corpus.css?{VERHASH}" rel="stylesheet" media="all">
<link href="dzz/corpus/images/popbox.css?{VERHASH}" rel="stylesheet" media="all">
<!-- 添加 -->
<link href="static/bootstrap/css/font-awesome.min.css?{VERHASH}" rel="stylesheet" media="all">
<!-- 结束 -->
<script type="text/javascript" src="dzz/corpus/scripts/main.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/imgReady.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>

<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container">
    <!-- 左边部分 -->
  <div class="bs-left-container affix-top clearfix">
    	<!--{template corpus_my_left}--> 
  </div>

    <!-- 左边拖动部分 -->
    <div class="left-drager">
        <div class="left-drager-op"><div class="left-drager-sub"></div></div>
    </div>
    <!-- 结束 -->
    <!-- 右边部分 -->
    <div class="bs-main-container clearfix">       	
        <div class="main-content" id="middleconMenu">         	        
            <div class="middle_right">               	
            	<!--{template corpus_my_view}-->
            </div> 
        </div>
    </div>
</div>
<script type="text/javascript">
jQuery('.left-drager').leftDrager_layout();
jQuery(document).ready(function(e) {
	jQuery('.ui-sortable').sortable({
		stop: function( event, ui ) {
			var cids=[];
			jQuery('#board_list_stared li').each(function(){
				cids.push(jQuery(this).data('cid'));
			});
			jQuery.post('{DZZSCRIPT}?mod={MOD_NAME}&op=ajax&do=setStar',{"cids":cids});
		}
	});
	jQuery(document).on('click','.tubiao-view',function(){
		if(jQuery('.member-boards-list').hasClass('hide')){
			jQuery('.member-boards-top .list-flex2').text(__lang.jurisdiction);
			jQuery('.member-boards-view').addClass('hide');
			jQuery('.member-boards-list').removeClass('hide');				
		}else{
			jQuery('.member-boards-top .list-flex2').text('');
			jQuery('.member-boards-view').removeClass('hide');
			jQuery('.member-boards-list').addClass('hide');				
		}
	})
	
	
	jQuery(document).on('click','.js-star',function(){
		var el=jQuery(this);
		var cid=el.data('cid');
		var view=jQuery('li[data-cid="'+cid+'"]');
		var list = jQuery('.list-flex-hover[data-cid="'+cid+'"]');
		if(el.hasClass('icon-star-active')){
			view.find('.icon-star').removeClass('icon-star-active');
			list.find('.icon-star').removeClass('icon-star-active');
			view.removeClass('starred');
			jQuery('#board_list_stared li[data-cid="'+cid+'"]').remove();
			jQuery('.window-list-star .list-flex-hover[data-cid="'+cid+'"]').remove();
		}else{
			view.find('.icon-star').addClass('icon-star-active');
			list.find('.icon-star').addClass('icon-star-active');
			view.addClass('starred');
			view.clone().appendTo('#board_list_stared');
			list.clone().appendTo('.window-list-star .list-flex-conten');
			jQuery('.js-popbox').each(function(){
				jQuery(this).popbox();
			});
		}
		if(cid){		
			jQuery('.window-list-star').removeClass('hide');
			jQuery('.window-module-star').removeClass('hide');
		}else{
			jQuery('.window-module-star').addClass('hide');
			jQuery('.window-list-star').addClass('hide');
		}
		jQuery.post('{DZZSCRIPT}?mod={MOD_NAME}&op=ajax&do=setStar',{"cids":cid});
		return false;
	});
	
});


jQuery('.js-popbox').each(function(){
		jQuery(this).popbox();
	});
</script>

<script  type="text/javascript" src="dzz/corpus/scripts/jquery-ui.js?{VERHASH}"></script>



<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script type="text/javascript" src="static/jquery_file_upload/jquery.ui.widget.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_file_upload/jquery.iframe-transport.js?{VERHASH}"></script>
<!-- The basic File Upload plugin -->
<script type="text/javascript" src="static/jquery_file_upload/jquery.fileupload.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_file_upload/jquery.fileupload-process.js?{VERHASH}"></script>
<script type="text/javascript" src="static/jquery_file_upload/jquery.fileupload-validate.js?{VERHASH}"></script>
<script src="static/bootstrap/js/bootstrap.min.js?{VERHASH}"></script>
<!--codestrings-->
<!--{template common/footer_simple}--> 
